package other

/**
 * User: ivan
 * Date: 4/11/14
 */
object Other {

  def nano() = {
    println("Getting nano")
    System.nanoTime
  }

  def delayed(t: => Long) = { // => indicates a by-name parameter
    println("In delayed method")
    println("Param: "+t)
    t
  }

  def main(v : Array[String]){
    println(delayed(nano()))
  }

}
